

/**************************************************/
/** Document ready **/
/**************************************************/
$(document).ready(function()
{
     //===========================CUSTOMER CENTER EVENT========================================
    var currentTab="#tab-1";
    $('#tabs .tab').css("display","none");
    
    $('#tabs div#tab-1').css("display","block");
    
     
    $('#tabs #controller div a').click(function()
    {
        $('#tabs #controller div').removeClass('active');
        $(this).parent().addClass('active');
        currentTab = $(this).attr('href');
        $('#tabs .tab').css("display","none");
        $(currentTab).css("display","block");
        return false;
    });
	
	//Tab right
	var currentTab="#tabr-1";
    $('#tab_right .tab').css("display","none");
    
    $('#tab_right div#tabr-1').css("display","block");
    
     
    $('#tab_right #controller div a').click(function()
    {
        $('#tab_right #controller div').removeClass('active');
        $(this).parent().addClass('active');
        currentTab = $(this).attr('href');
        $('#tab_right .tab').css("display","none");
        $(currentTab).css("display","block");
        return false;
    });
	$("#tab-1 #result #btn_notice").click(function()
    {
      $("#tab-1 #result_click_tab1").show();
      $("#tab-1 #result").hide(); 
	  return false;
    });
    $("#tab-2 #result #btn_notice").click(function()
    {
      $("#tab-2 #result_click_tab2").show();
      $("#tab-2 #result").hide(); 
	  return false;
    });
});